﻿@model Dyd.BaseService.ConfigManager.Domain.Model.tb_category_model

@{
    ViewBag.Title = "编辑分类";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="head">
    <div class="top">
        <h3 class="fl">@ViewBag.Title</h3>
        <a href="javascript:void(0);" class="back fr">返回</a>
    </div>
</div>
<div>
    @using (Html.BeginForm("CategoryEdit", "Category"))
    {
        @Html.AntiForgeryToken()
        @Html.HiddenFor(model => model.createtime)
        <ul class="mydetail">
            <li>
                @Html.LabelFor(model => model.name)
                @Html.EditorFor(model => model.name)
                @Html.ValidationMessageFor(model => model.name)
            </li>

            <li>
                @Html.LabelFor(model => model.remark)
                @Html.TextAreaFor(model => model.remark,15,30, new { })
                @Html.ValidationMessageFor(model => model.remark)
            </li>
            <li>
                <input type="submit" class="btn1" value="提交" />
                @Html.ValidationMessage("Error")
            </li>
        </ul>
    }
</div>
